package main

import b "github.com/beego/beego/v2/server/web"

func main() {
	webDir, err := b.AppConfig.String("webDir")
	if err != nil {
		println("读取app.conf.webDir发生错误：", err)
		return
	}

	b.BConfig.WebConfig.StaticDir["/"] = webDir
	b.Run()
}
